资源
HTML & CSS Full Course - Beginner to Pro (2022) - YouTube
课程
Intro
In this full course, we learn how to build websites with HTML and CSS, and get started as a software engineer.
- Exercise solutions: https://supersimple.dev/courses/html-…
- Copy of the code: https://supersimple.dev/courses/html-…
- HTML and CSS reference: https://supersimple.dev/html
Additional Information: This HTML CSS full course is a series of HTML CSS tutorials, teaching the major skills that we need to create complex websites. Each HTML CSS tutorial builds on a project and provides some HTML CSS exercises to practice what we learned. By the end, we’ll learn the basics of web development and we’ll be on our way to becoming a web developer and software engineer.
其他信息:这个 HTML CSS 完整课程是一系列的 HTML CSS 教程,教授我们创建复杂网站所需的主要技能。每个 HTML CSS 教程都建立在一个项目的基础上,并提供一些 HTML CSS 练习来练习我们所学的知识。到最后,我们将学会网站开发的基础知识,我们将在成为一名网站开发人员和软件工程师的路上。
1. HTML Basics
HTML: HyperText Markup Language (tool we use to create websites)

- 1a. Create a button with the text “Click” inside
1 | |
- 1b. Create 2 buttons. 1 with your name and 1 with your favorite food
1 | |
- 1c. Create a paragraph with the text “Hello, World!” inside
1 | |
Hello, world!
- 1d. Create a paragraph below the previous paragraph and write something you did today
1 | |
Hello, world!
Today I got up early.

- 1e. Create a link to google.com (or a similar website for your country)
1 | |
- 1f. Make the link from the previous exercise (1e.) open in a new tab
1 | |
**Challenge Exercise **
- 1g. Try to copy this design using HTML (the link goes to amazon.com)
1 | |
Nike Black Running Shoes
$39 - in stock.
Free delivery tomorrow.
2. CSS Basics
CSS: Cascading Style Sheets (change the appearance of HTML elements)
Youtube & Tweet
1 | |

Use CSS to recreate these buttons from famous websites:

- 2a. Uber
- 2b. Amazon
- 2c. GitHub
- 2d. Bootstrap
- 2e. Linkedln
1 | |


**Challenge Exercise **
- 2f. Continuing from exercise 1g. recreate this design using CSS:
1 | |

3. Hovers, Transitions, Shadows
注意 Transitions 属性不要放到 hover 里, 否则移出时不会有 Transitions 的效果。
1 | |

Use CSS to recreate these buttons from famous websites:

1 | |
**Challenge Exercise **

1 | |
4. Chrome DevTools & CSS Box Model
CSS Box Model
- how much space an element takes up
- how far it is away from other elements

- 4a. - 4e. Modify exercises 3a. - 3e. to use padding instead of height/width
1 | |

- 4f. Update the Tweet button to use padding instead of height/width
- 4g. Use the Chrome DevTools to get the exact color for the Subscribe button and update it int the code
1 | |


**Challenge Exercise **
- 4h. Pagination
1 | |

- 4i. - 4k.
1 | |

5. Text Styles
-
CSS Specificity:class name selector>element name selector -
google 搜索
html entity greater than得到>的 Entity Number>
1 | |


- 5a. font = Tahoma
1 | |

- 5b. font = Arial
1 | |

- 5c. font = Verdana
1 | |

- 5d. font = Arial
1 | |


**Challenge Exercise **
- 5e.
1 | |

- 5f.
1 | |

- 5g.
1 | |
